#include <math.h>

void minus3_3(double l[3], double r[3], double ans[3]);
void dot33_33(const double left33[3][3], const double right33[3][3], double ans33[3][3]);
void dot33_3(const double left33[3][3], const double right3[3], double ans3[3]);
void dotk3(const double k, const double vector3[3], double ans3[3]);
double dot3_3(const double left3[3], const double right3[3]);
double dot3_3(const double vector3[3]);
double norm3(const double vector3[3]);
void uni3(const double vector3[3], double ans3[3]);
void cross3_3(const double left3[3], const double right3[3], double ans3[3]);
void transpose33(const double m33[3][3], double tm33[3][3]);